package ch02.graphics;

import javax.swing.JFrame;

public class EmptyFrameViewer {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		JFrame frame1 = new JFrame();
		
		frame1.setSize(400, 300);
		frame1.setTitle("There fool!");
		frame1.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		
		JFrame frame2 = new JFrame();
		
		frame2.setSize(500, 20);
		frame2.setTitle("There fool, another frame, word!");
		frame2.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		
		frame1.setVisible(true);
		frame2.setVisible(true);

	}

}
